package com.lanou.controller;

import org.apache.shiro.SecurityUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by dllo on 18/3/15.
 */
@Controller
public class ReportController {
    @RequestMapping(value = "/report_list")
    public String report_list(){
        if (SecurityUtils.getSubject().isPermitted("报表")){
            return "report/report_list";
        }else {
            return "nopower";
        }
    }

}
